package com.yonyougov.devops.cruxcisupport.committest.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigInteger;
import java.util.Date;

@Data
public class CommitTestPageVo {

    /***
     * 主键
     */
    private BigInteger id;

    /***
     * 环境Id
     */
    private BigInteger envId;

    private String envName;

    /***
     * 应用Id
     */
    private BigInteger appId;

    private String appName;

    /***
     * 版本Id
     */
    private BigInteger versionId;

    private String versionName;

    /***
     * 提测人Id
     */
    private BigInteger submitUserId;

    private String submitUserName;

    /***
     * 备注
     */
    private String remark;

    /***
     * 提测类型：0:bug;1:功能;2:调优
     */
    private Integer testType;

    /***
     * 状态
     */
    private Integer status;

    /***
     * 开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startTime;

    /***
     * 结束时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endTime;

    /***
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    /***
     * 测试分支
     */
    private String testBranch;

    /***
     * 测试内容
     */
    private String testContent;

    /***
     * 测试主管Id
     */
    private BigInteger testLead;

    /***
     * 需求分析人Id
     */
    private BigInteger productManager;

    private String testUserName;

    private String testLeadName;

    private String pmName;
}
